import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:industry_net/base/common/util.dart';
import 'package:lottie/lottie.dart';

import '../index.dart';

/// hello
class HelloWidget extends GetView<LottieTestController> {
  const HelloWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        LottieBuilder.asset(
          'assets/jsons/like.json',
          animate: true,
          repeat: true,
          reverse: true,
          width: 100,
          height: 100,
        ),
        Lottie.network(
            'https://assets9.lottiefiles.com/packages/lf20_eAs28k.json',
            width: 100,
            height: 100),
        loadImage(
            url:
                'https://gitee.com/ichengchengcui/feature/raw/master/home/sofa.jpeg'),
      ],
    );
  }
}
